package com.xydtech.ecard.custgroup.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 社团组织信息对象 ecard_customer_group_organize
 *
 * @author yuzhiguo
 * @date 2024-11-26 下午3:02
 */
public class EcardCustomerGroupOrganize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 客群关联id */
    private Long customerId;

    /** 客群名称 */
    @Excel(name = "客群名称")
    private String customerGroupName;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String organizeName;

    /** 组织类型 */
    @Excel(name = "组织类型", dictType = "ecard_organize_type")
    private String organizeType;

    /** 是否对接 */
//    @Excel(name = "是否对接", dictType = "common_yes_no")
    private String isConnected;

    /** 组织联系人 */
    @Excel(name = "组织联系人")
    private String organizeContacts;

    /** 组织联系电话 */
    @Excel(name = "组织联系电话")
    private String organizePhone;

    /** 组织坐标 */
    private String organizeCoordinate;

    /** 组织地址 */
    @Excel(name = "组织地址")
    private String organizeAddress;

    /** 组织图片 */
    private String organizePic;

    /** 创建人ID */
    private Long creatorId;

    /** 管户人ID */
    private Long managementPersonnelId;

    /** 创建人机构ID */
    private Long deptId;

    /** 法人机构ID */
    private Long corpId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

    /** 状态0停用,1启用 */
    private Integer state;

    /** 客户经理 */
    @Excel(name = "客户经理")
    private String userName;

    /** 法人机构 */
    @Excel(name = "法人机构")
    private String deptName;

    /** 状态0停用,1启用 */
    @Excel(name = "状态")
    private String stateName;

    /** 字典机构查询条件 */
    private Long dictDeptId;

    /**
     * 是否释放
     */
    private String releaseSts;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }

    public String getCustomerGroupName() {
        return customerGroupName;
    }

    public void setCustomerGroupName(String customerGroupName) {
        this.customerGroupName = customerGroupName;
    }

    public void setOrganizeName(String organizeName)
    {
        this.organizeName = organizeName;
    }

    public String getOrganizeName()
    {
        return organizeName;
    }
    public void setOrganizeType(String organizeType)
    {
        this.organizeType = organizeType;
    }

    public String getOrganizeType()
    {
        return organizeType;
    }
    public void setIsConnected(String isConnected)
    {
        this.isConnected = isConnected;
    }

    public String getIsConnected()
    {
        return isConnected;
    }
    public void setOrganizeContacts(String organizeContacts)
    {
        this.organizeContacts = organizeContacts;
    }

    public String getOrganizeContacts()
    {
        return organizeContacts;
    }
    public void setOrganizePhone(String organizePhone)
    {
        this.organizePhone = organizePhone;
    }

    public String getOrganizePhone()
    {
        return organizePhone;
    }
    public void setOrganizeCoordinate(String organizeCoordinate)
    {
        this.organizeCoordinate = organizeCoordinate;
    }

    public String getOrganizeCoordinate()
    {
        return organizeCoordinate;
    }
    public void setOrganizeAddress(String organizeAddress)
    {
        this.organizeAddress = organizeAddress;
    }

    public String getOrganizeAddress()
    {
        return organizeAddress;
    }
    public void setOrganizePic(String organizePic)
    {
        this.organizePic = organizePic;
    }

    public String getOrganizePic()
    {
        return organizePic;
    }
    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setManagementPersonnelId(Long managementPersonnelId)
    {
        this.managementPersonnelId = managementPersonnelId;
    }

    public Long getManagementPersonnelId()
    {
        return managementPersonnelId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCorpId(Long corpId)
    {
        this.corpId = corpId;
    }

    public Long getCorpId()
    {
        return corpId;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public Long getDictDeptId() {
        return dictDeptId;
    }

    public void setDictDeptId(Long dictDeptId) {
        this.dictDeptId = dictDeptId;
    }

    public String getReleaseSts() {
        return releaseSts;
    }

    public void setReleaseSts(String releaseSts) {
        this.releaseSts = releaseSts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("customerId", getCustomerId())
                .append("customerGroupName", getCustomerGroupName())
                .append("organizeName", getOrganizeName())
                .append("organizeType", getOrganizeType())
                .append("isConnected", getIsConnected())
                .append("organizeContacts", getOrganizeContacts())
                .append("organizePhone", getOrganizePhone())
                .append("organizeCoordinate", getOrganizeCoordinate())
                .append("organizeAddress", getOrganizeAddress())
                .append("organizePic", getOrganizePic())
                .append("creatorId", getCreatorId())
                .append("managementPersonnelId", getManagementPersonnelId())
                .append("deptId", getDeptId())
                .append("corpId", getCorpId())
                .append("creationTime", getCreationTime())
                .append("state", getState())
                .append("remark", getRemark())
                .append("userName", getUserName())
                .append("deptName", getDeptName())
                .append("stateName", getStateName())
                .append("dictDeptId", getDictDeptId())
                .append("releaseSts", getReleaseSts())
                .toString();
    }
}
